package com.example.springboot2.tools;

public class MakeResponse {
    public static<T> ResponseMessage<T> success(String code, String message) {
        return new ResponseMessage<T>(code, message);
    }

    public static <T> ResponseMsgData<T> success(String code, String message, T data) {
        return new ResponseMsgData<T>(code, message, data);
    }
}
